package com.dynamictpm.remote;

import com.dynamictpm.common.web.base.Result;
import com.dynamictpm.config.DynamicThreadPoolProperties;

import java.util.Map;

/**
 * 描述：： Server http 客户端封装
 * <p>
 * ------------------------------------
 *
 * @program: dynamic-tpm
 * @ClassName ServerHttpAgent
 * @author: it-yml
 * @create: 2023-07-04 21:13
 * @Version 1.0
 * --------------------------------------
 **/
public class ServerHttpAgent implements HttpAgent{

    private final DynamicThreadPoolProperties dynamicThreadPoolProperties;

//    private final ServerListManager serverListManager;

//    private HttpClientUtil httpClientUtil = ApplicationContextHolder.getBean(HttpClientUtil.class);

    public ServerHttpAgent(DynamicThreadPoolProperties properties) {
        this.dynamicThreadPoolProperties = properties;
//        this.serverListManager = new ServerListManager(dynamicThreadPoolProperties);
    }
    @Override
    public void start() {

    }

    @Override
    public String getTenantId() {
        return null;
    }

    @Override
    public String getEncode() {
        return null;
    }

    @Override
    public Result httpGet(String path, Map<String, String> headers, Map<String, String> paramValues, long readTimeoutMs) {
        return null;
    }

    @Override
    public Result httpPost(String path, Map<String, String> headers, Map<String, String> paramValues, long readTimeoutMs) {
        return null;
    }

    @Override
    public Result httpDelete(String path, Map<String, String> headers, Map<String, String> paramValues, long readTimeoutMs) {
        return null;
    }
}
